package com.lintf.starter;

import com.lintf.starter.initializer.SystemContextInitializer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
public class SystemApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(SystemApplication.class);
        springApplication.addInitializers(new SystemContextInitializer());
        springApplication.run(args);
//        SpringApplication.run(SystemApplication.class, args);
    }
}